// let obj: object = {
//   x: 1
// }

// object.y = 2 // 报错

let a = 2;
type a = 'string';

console.log(a);

// let a:a;

interface user {
  uname: string,
  age: number
}

interface user {
  gender: string
}

function Fn(user: user) {
  console.log(user);
}

Fn({
  uname: '张三',
  age: 12,
  gender: '男'
})